﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using GLSimulationControl;

namespace _3CMillingSimulator
{
    public partial class PathMiddle : Form
    {
        public PathMiddle()
        {
            InitializeComponent();
        }

        private void cancelButton_Click(object sender, EventArgs e)
        {
            this.Close();
        }

        private void okButton_Click(object sender, EventArgs e)
        {
            //SimulatorControlGL.SetPathOriginX( this.materialControl.PointX );
            //SimulatorControlGL.SetPathOriginY( this.materialControl.PointY );
            //SimulatorControlGL.SetPathOriginZ( 0.0 );
            SimulatorControlGL.SetPathOriginX( 75.0 );
            SimulatorControlGL.SetPathOriginY( 75.0 );
            SimulatorControlGL.SetPathOriginZ( 0.0 );
            this.Close();
        }
    }
}
